.message {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    padding: 12px 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.message-success {
    background-color: #52c41a;
}

.message-failure {
    background-color: #f5222d;
}

.message.show {
    display: block;
    animation: fade 0.4s ease-in-out;
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}